package com.hg.chapter8.oracle.repository;

import com.hg.chapter8.oracle.entity.People;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface PeopleRepository extends JpaRepository<People,Long> {

//    List<People> findAllByName(String name);

    List<People> getAll();

}
